Hi Jac,
Just thought I'd extend on Jerrys answer by adding that you can sort the items by the category name in your getRecords array like this:
// load records from 'blog'
list($($news_1Records, $($news_1RecordsMetaData) = getRecords(array(
'tableName' => 'blog',
'loadUploads' => true,
'allowSearch' => false,
'orderBy' => 'category ASC'
));
You should just need to copy the green orderBy item above and add it to your getRecords array.
This will make it so that the returned items will be sorted by the category field in alphabetical order.
Let me know if you have any questions.
Thanks!
Greg
Greg Thomas
PHP Programmer - interactivetools.com