Fix prebill sorting