Subj : TgM: order of posts from a backlog To : Wilfred van Velzen From : Stas Mishchenkov Date : Fri Nov 13 2020 08:09 am Hi, Wilfred! 10 ноя 20 14:14, Wilfred van Velzen -> Stas Mishchenkov: SM>> On the other hand, sorting packages by date before tossing can SM>> significantly increase processing time. WvV> Maybe if you have a thousand or more packages to sort, otherwise I WvV> wouldn't worry about it... ;) Take a look: opendir(); do while readdir() { readpkt(); } closedir(); or it will be opendir(); do while readdir() { collect_names(); } closedir(); sort_names(); for $name (@names) { readpkt(); } Have nice nights. Stas Mishchenkov. --- Мудрость - это когда ты всё понимаешь, но уже не огорчаешься. * Origin: Lame Users Breeding. Simferopol, Crimea. (2:460/5858) .