Update queue.php

Add possibility to sort queue list in both ways