Improving sorting list by using quick sort algorithm and possibility to get a part of the list