Added generic positions to sort document categories