Fix req sorting