sort the local var list