Methods of organizing sorting in ordered lists in software systems

Keywords: database, sorting, optimization, sorting index, sorted list, linked list

Abstract

In modern software systems, particularly in web applications, task management systems, content management platforms, and other structured data environments, the correct organization of item order in ordered lists plays a critical role. The most common method for storing such structures involves relational databases, where maintaining item order requires additional attention. The primary approaches include the use of a separate numeric field (order index) or the construction of linked structures, in which each record contains a reference to the previous or next item. However, as the number of elements grows, updating these values efficiently becomes a challenge, especially when items are repositioned within the list. This creates the need for a thorough analysis of modern approaches to organizing and maintaining list order, particularly methods for optimizing sorting values by incorporating reserved space between adjacent indices. Such approach helps to avoid frequent re-indexing operations when positions change, which in turn improves performance and reduces database load. Among alternative solutions, horizontal expansion of ordering values, such as the use of fractional or lexicographic formats, deserves particular attention. Additionally, the advantages and disadvantages of using linked lists compared to traditional sorting by order values are examined. To compare the approaches, an evaluation is conducted based on accuracy and performance, implementation efficiency, and a possibility of scaling lists

References

1. A. Silberstein et al. Efficient Maintenance of Order-Based Labeling for Dynamic XML Data. International Conference on Data Engineering. 2005. P. 285–296
2. Bender, M. A., Cole, R., Demaine, E. D., Farach-Colton, M., & Zito, J. Two Simplified Algorithms for Maintaining Order in a List. European Symposium on Algorithms. 2002. Vol. 2461. P. 152–164.
3. The Trello tech stack. Atlassian. URL: https://surl.li/ylnalm (дата звернення: 10.04.2025).
4. Floating-Point Arithmetic: Issues and Limitations. URL: https://surl.li/kfnkuw (дата звернення: 12.04.2025).
5. PostgreSQL: CREATE INDEX. URL: https://surl.li/ksseer (дата звернення: 02.05.2025).

Abstract views: 26
PDF Downloads: 14
Published
2025-06-16
How to Cite
Kosheliuk , V., & Tymchuk , V. (2025). Methods of organizing sorting in ordered lists in software systems. COMPUTER-INTEGRATED TECHNOLOGIES: EDUCATION, SCIENCE, PRODUCTION, (59), 143-147. https://doi.org/10.36910/6775-2524-0560-2025-59-19
Section
Computer science and computer engineering