$category = Category::where('status',1)->orderBy('id','desc')->get();
what is the data type of column status ?
in mysql true/false is not supported and these are just simple string . instead datatype tinyint(1) with value 0 and 1 is used for boolean column.