Node js sortBy() based on multiple attributes using Underscore

How to sort an array with objects based on multiple attributes

The first property “primaryScore” is same between the two objects. The two “primaryScore” is equal to 75. So the second property I am going to use to compare the three objects is “secondaryScore”. consider the following array:
var persons = [
{name: 'John', primaryScore: 75, secondaryScore: 60},
{name: 'Sansa', primaryScore: 75, secondaryScore: 50},
{name: 'Arya', primaryScore: 80, secondaryScore: 60},
{name: 'Sam', primaryScore: 80, secondaryScore: 50}

Continue reading “Node js sortBy() based on multiple attributes using Underscore”

Spooky Kool Band

“Head Bopping | Jazz for the Body | Mind | Spirit | Soul | Music”

Music is best friend when you feel alone and music play great role when you want to celebrate any occasion. Today we will share with you an American Band story named Spooky Kool. Its amazing band once you listen then you always like to listen them. Performing for Concerns, Festivals, and High -End Venues, Spooky Kool is a Family Favorite.  Presenting the best of Dance, Jazz, and Original Music, you will have more fun than imagined.  So get on your feet! Be ready to dance and scream to the music, ’cause no-one enjoys performing for you like Spooky Kool.Spooky Kool Band Continue reading “Spooky Kool Band”

How Rickshaw Driver’s Daughter Become World Class Archer

Inspirational Story of Archer Deepika Kumari

Today I am going to tell you the story of former world number one women archer Deepika Kumari. She is a perfect example of “Nothing is impossible”. Deepika Kumari born on 13 June 1994 and belongs to Jharkhand. She is Indian athlete who is the star in archery game event.Archer Deepika Kumari Continue reading “How Rickshaw Driver’s Daughter Become World Class Archer”

Story of Richest Female of China

Zhou Qunfei, the China’s Richest Female Self-Made Billionaire

There are many stories of that motivate and inspire us to get success in life. Today I am going to tell you story of Billionaire lady that proves nothing is impossible in this world. The name of the lady is Zhou Qunfei. She is the richest woman in China.

Richest Female of China

Continue reading “Story of Richest Female of China”

Why Do Watches Always Show 10:10 in Ads

Why do advertisements often use the time 10:10 on clocks and watches

Did You Know Why Do Watches Always Show 10:10 in Ads?

When you visit the store to buy a watch or you see an advertisement of the watch there is mostly default time is 10:10. Here is some fact that shows that why it is 10:10.why watches in ads show 10:10 Continue reading “Why Do Watches Always Show 10:10 in Ads”

Impact of Social Media Sites

Positive and Negative Impact of Social Media Sites

If we compare past time and present time we will find a huge impact of social media on our lives. Social media has totally changed our lives. As coin have two aspect social media also have two aspects. Social media has good and bad impact on our life. In past when we don’t have social media site we like to play with our friends or to visit relatives in our childhood. Now when we are on social media we just try to stay on it instead of doing other activity, but the present time it also helps us to stay connected with our friends and relatives who are far away from us that’s why I said it has two aspects. Let’s see the impact of social media below.impact of social media sites

Continue reading “Impact of Social Media Sites”