Fix #508. Add recipe sorting