I did it! Thanks for the starting point given.
First I went to manage-galleries.php, which is in admin folder, and changed this line 24
$gallerylist = $nggdb->find_all_galleries(‘gid’, ‘desc‘, TRUE, 10, $start);
for the number 10, you can change it to anything you like, just the no of galleries to list on each page.
Then I went to ngg-db.php is in folder lib. I use the find function to search for all words “asc”, which is ascending, and whatever I saw that was related to gallery, I changed them into DESC. I think I changed it in about 4-5 different sections.
e.g
function find_all_galleries($order_by = ‘gid’, $order_dir = ‘DESC‘, $counter = false, $limit = 0, $start = 0) {
global $wpdb;
$order_dir = ( $order_dir == ‘DESC’) ? ‘DESC’ : ‘DESC’;
$start);
basically anything that was realted to gallery and was showing ASC, I changed it to DESC, and now it worked, sorting in reverse order! So Happy!
just to let know you, this is my first time touching any of these codes!