Fixed sample sort