This paper works on sorting the given set of elements effectively in both Sort ascending and Sort descending order. There are numerous methods algorithms for sorting a given group of random integers wherein each of these algorithms take unique time to execute the sorting operation. Basic idea of time complexity was highly considered during the design of this algorithm and we make use of doubly linked list in achieving this.