Simplifying the way we learn
StackCafe is made for aspiring, current, and past IT Professionals to have a centralized place to learn and network without intense moderation.
PhoneDirectory.prototype.sort = function() {
const val1 = this.sortType === 1 ? -1 : 1;
const val2 = this.sortType === 1 ? 1 : -1;

const sortedList = this.contactsList.sort((a,b) => {

if (a.name < b.name) return val1;

if (a.name > b.name) return val2;

return 0;

});


if (this.sortType === 1) {

this.sortType = 2;

} else {

this.sortType = 1;

}

this.reRendertable(sortedList);

}

25+
Relevant Forums
$0
100% Free access
25+
Relevant Forums
$0
Free access to all content
1 on 1
Private messaging
100%
Community moderation

The StackCafe Blog

Check out what's happening on our blog where we demo, discuss, and anaylze Software Engineering concepts and code.
StackCafe Blog
Corey Domingos
How our community works
Post
Create posts either to your feed for your friends to see, or post questions in any one of our 25+ communities to recieve an answer to any questions you might have. Don't worry, we'll never push you to edit or remove a question you have that does not violate our community guidelines.
Network
Interact with other community members in by voting, commenting, and giving your take on others answers in our Question and Answer forums. Interested in talking to another community member privately? Make use of our built in private messaging system!
Learn
Make use of the truly unrestricted content offered on StackCafe. From weekly blog posts from experienced IT Professionals, to our communities in the Question and Answer forums, implement continous learning and advance your career with our platform.
Get your questions answered.
Offering communities for all your favorite technologies.